/**
 * @Title: CameraPhotoCond.java
 * @Package com.sinotn.ks.node.camera.dao.jdbc.cond
 * @Description: TODO
 * Copyright: Copyright (c) 2015
 * Company:北京信诺软通
 */
package com.sinotn.ks.node.camera.dao.cond;

import java.util.Collection;
import java.util.HashSet;

/**
 * @Title CameraPhotoCond.java
 * @Package com.sinotn.ks.node.camera.dao.jdbc.cond
 * @Description Copyright: Copyright (c) 2015 Company:北京信诺软通
 * 
 * @author <a href="mailto:liyunfeng@sinotn.com">李云峰</a>
 * @date 2017年6月23日 下午6:36:49
 * @version V1.0
 */
public class CameraPhotoCond {
	/**
	 * 考生姓名
	 */
	private String examineeName;
	/**
	 * 状态(0-未分析; 1-警报; 2-通过; 3-手工通过)
	 */
	private Byte state;
	/**
	 * 是否处理
	 */
	private Byte fixed;

	private HashSet<String> roomIdSets;
	
	/**
	 * 拍照阶段
	 */
	private Byte phase;
	
	/**
	 * 是否是查询正常流程照片
	 */
	private boolean isNormal;
	
	/**
	 * 考生ID
	 */
	private String examineeId;

	public String getExamineeName() {
		return examineeName;
	}

	public void setExamineeName(String examineeName) {
		this.examineeName = examineeName;
	}

	public HashSet<String> getRoomIdSets() {
		return roomIdSets;
	}

	public void setRoomIdSets(HashSet<String> roomIdSets) {
		this.roomIdSets = roomIdSets;
	}

	public Byte getState() {
		return state;
	}

	public void setState(Byte state) {
		this.state = state;
	}

	public Byte getFixed() {
		return fixed;
	}

	public void setFixed(Byte fixed) {
		this.fixed = fixed;
	}

	public Byte getPhase() {
		return phase;
	}

	public void setPhase(Byte phase) {
		this.phase = phase;
	}

	public String getExamineeId() {
		return examineeId;
	}

	public void setExamineeId(String examineeId) {
		this.examineeId = examineeId;
	}

	public boolean isNormal() {
		return isNormal;
	}

	public void setNormal(boolean isNormal) {
		this.isNormal = isNormal;
	}

	public void addRoomId(String roomId) {
		if (this.roomIdSets == null) {
			this.roomIdSets = new HashSet<String>();
		}
		this.roomIdSets.add(roomId);
	}

	public void addRoomIds(Collection<String> roomIds) {
		if (this.roomIdSets == null) {
			this.roomIdSets = new HashSet<String>();
		}
		this.roomIdSets.addAll(roomIds);
	}
}
